package com.sftz.assets.entities;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

@Data
@Table("institution_student_form_item")
public class InstitutionStudentFormItemEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("机构id")
	private Integer institutionId;

	@Column
	@Comment("字段名")
	private String name;

	@Column
	@Comment("是否必填")
	private Integer necessary;

	@Column
	@Comment("数据类型")
	private Integer dataType;

	@Column
	@Comment("最大长度")
	private Integer maxLength;

	@Column
	@Comment("最小长度")
	private Integer minLength;

	@Column
	@Comment("创建时间")
	private Date createTime;

}